<#macro header>
    <div class="header clearfix">
        <div style="width: 1240px; margin: 0 auto; position: relative;">
            <h1 class="logo" style="margin-top: 10px;">
                <img src="${front_template!}/s/images/logo.png" width="300"/></h1>
            <ul id="sddm">
                <li><a href="${web_domain!}/" class="menu1">首页</a></li>
                <#if navMenuTopList??>
                    <#list navMenuTopList as nav>
                        <#if (''==(nav.parentid)!'') && nav.levelno==1>
                        <li><a href="<#if nav.url??&& ''!=nav.url>${nav.url}<#else>javascript:voide(0);</#if>" onmouseover="mopen('m${nav.id}')" onmouseout="mclosetime()" class="menu1">
                            ${nav.name}</a>
                            <div id="m${nav.id}" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
                                <#list navMenuTopList as navChild>
                                    <#if nav.id==(navChild.parentid)! >
                                <a href="${navChild.url}">${navChild.name}</a>
                                    </#if>
                                </#list>
                            </div>
                        </li>
                        </#if>
                    </#list>
                </#if>
            </ul>
        </div>
        <div style="clear: both"></div>
    </div>
</#macro>